﻿@model ToWaDBFirst.Models.MessageWrapper

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>@Model.title</legend>

    <div class="display-label">fromUser</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.fromUser)
    </div>

    <div class="display-label">posted</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.posted)
    </div>

    <div class="display-label">content</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.content)
    </div>

</fieldset>
<p>
    @Html.ActionLink("Back to List", "Index")
</p>
